﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2006" 
    
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:EAppointmentsWPF="clr-namespace:EAppointmentsWPF"
  	xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic"
	xmlns:EAppointmentsWPF_Data="clr-namespace:EAppointmentsWPF.Data"
	xmlns:Microsoft_Samples_KMoore_WPFSamples_DateControls="clr-namespace:Microsoft.Samples.KMoore.WPFSamples.DateControls;assembly=WPFSamplesLib"
	x:Class="EAppointmentsWPF.MainWindowClass"
	x:Name="MainWindow"
	Title="E-Appointment"
	Width="1137" Height="773" ResizeMode="CanResize" Foreground="{x:Null}" FontSize="11" Background="{DynamicResource MainWindowGrayBackground}" ShowInTaskbar="True" SizeToContent="Manual" Topmost="False" WindowState="Normal">

	
		<Window.Resources>
			<ResourceDictionary>
            	<!-- Dictionaries-->
            	<ResourceDictionary.MergedDictionaries>
	                <ResourceDictionary Source="\Resources\ControlStyles\Brushes.xaml"/>
                	<ResourceDictionary Source="\Resources\ControlStyles\Buttons.xaml"/>
                	<ResourceDictionary Source="\Resources\ControlStyles\ComboBox.xaml"/>
                	<ResourceDictionary Source="\Resources\ControlStyles\CheckBox.xaml"/>
                    <ResourceDictionary Source="\Resources\ControlStyles\DatePicker.xaml"/>
                	<ResourceDictionary Source="\Resources\ControlStyles\ListBox.xaml"/>
					<ResourceDictionary Source="\Resources\ControlStyles\ListView.xaml"/>
                	<ResourceDictionary Source="\Resources\ControlStyles\Styles.xaml"/>
					<ResourceDictionary Source="\Resources\ControlStyles\TabControl.xaml"/>
            	</ResourceDictionary.MergedDictionaries>
			<Storyboard x:Key="ApplicationStart"/>
			<Storyboard x:Key="Reappear"/>
			
		</ResourceDictionary>	
		
		</Window.Resources>

	
		<Window.Triggers>
			<EventTrigger RoutedEvent="FrameworkElement.Loaded">
				<BeginStoryboard Storyboard="{StaticResource ApplicationStart}"/>
			</EventTrigger>
		</Window.Triggers>
	<Grid>
		<DockPanel x:Name="grid" Margin="0,3,0,3">
			<Border>
				<Grid>
					<Border x:Name="Header" Height="94" Background="#FF224D7A" BorderBrush="#FFCED4DD" BorderThickness="0,0,0,1" Width="Auto" VerticalAlignment="Top">
						<DockPanel Width="Auto" Height="Auto">
							<Border Width="Auto" Height="90">
								<Border.Background>
									<LinearGradientBrush EndPoint="0.324,0.89" StartPoint="0.323,0.11">
										<GradientStop Color="#FFE6EAEF" Offset="0"/>
										<GradientStop Color="#FFCED4DD" Offset="1"/>
									</LinearGradientBrush>
								</Border.Background>
								<Grid>
									<Grid RenderTransformOrigin="0.5,0.5" x:Name="Microsoft_Net_Image" Width="140" HorizontalAlignment="Left" Margin="8,10,0,-1">
										<Grid.RenderTransform>
											<TransformGroup>
												<ScaleTransform ScaleX="1" ScaleY="1"/>
												<SkewTransform AngleX="0" AngleY="0"/>
												<RotateTransform Angle="0"/>
												<TranslateTransform X="0" Y="0"/>
											</TransformGroup>
										</Grid.RenderTransform>
										<Image Source="Resources\Images\image1.png"/>
										<Path Stretch="Fill" Data="F1 M   128.492,16.7786C 134.014,16.7786 138.492,21.2557 138.492,26.7786L 138.492,84.7859L 26.4783,84.7859C 20.9555,84.7859 16.4783,80.3088   16.4783,74.7859L 16.4783,16.6852L 128.492,16.7786 Z " StrokeThickness="1.33319" StrokeLineJoin="Round" Margin="2.812,1.019,2.841,5.548">
											<Path.Stroke>
												<LinearGradientBrush StartPoint="0.0236415,0.0146549" EndPoint="0.988506,0.998912">
													<GradientStop Color="#94FFFFFF" Offset="0"/>
													<GradientStop Color="#29FFFFFF" Offset="1"/>
												</LinearGradientBrush>
											</Path.Stroke>
										</Path>
										<Canvas Margin="15.936,11.236,13.765,12.916">
											<Path x:Name="Path_71" Width="2.05933" Height="1.96527" Canvas.Left="76.6503" Canvas.Top="3.27582" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 77.6798,3.27582C 77.1184,3.27582 76.6503,3.65009 76.6503,4.21167C 76.6503,4.86688 77.1184,5.24109 77.6798,5.24109C   78.2416,5.24109 78.7097,4.86688 78.7097,4.21167C 78.7097,3.65009 78.2416,3.27582 77.6798,3.27582 Z M 77.6798,3.36938C 78.1478,3.36938   78.5226,3.74359 78.5226,4.21167C 78.5226,4.77325 78.1478,5.14752 77.6798,5.14752C 77.1184,5.14752 76.7442,4.77325 76.7442,4.21167C 76.7442,3.74359   77.1184,3.36938 77.6798,3.36938 Z M 78.1478,4.86688L 77.8674,4.30524C 78.0545,4.21167 78.1478,4.1181 78.1478,4.0246C 78.1478,3.83722   77.9607,3.65009 77.6798,3.65009L 77.2122,3.65009L 77.2122,4.86688L 77.3994,4.86688L 77.3994,4.3988L 77.6798,4.3988L 77.9607,4.86688L   78.1478,4.86688 Z M 77.3994,4.21167L 77.3994,3.83722L 77.6798,3.83722C 77.8674,3.83722 77.9607,3.93073 77.9607,3.93073C 77.9607,4.1181   77.8674,4.21167 77.6798,4.21167L 77.3994,4.21167 Z "/>
											<Rectangle x:Name="Rectangle_72" Width="0.280403" Height="14.1317" Canvas.Left="50.7262" Canvas.Top="33.6929" 

												Stretch="Fill" Fill="#FFFFFFFF"/>
											<Path x:Name="Path_73" Width="13.4771" Height="0.374512" Canvas.Left="22.5551" Canvas.Top="22.4617" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 22.5551,22.8362L 36.0321,22.8362L 36.0321,22.4617L 22.836,22.4617L 22.5551,22.8362 Z "/>
											<Rectangle x:Name="Rectangle_74" Width="14.1322" Height="0.374512" Canvas.Left="68.6018" Canvas.Top="22.4617" 

												Stretch="Fill" Fill="#FFFFFFFF"/>
											<Path x:Name="Path_75" Width="27.8899" Height="32.5694" Canvas.Left="45.6722" Canvas.Top="19.1862" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 68.6018,41.7415C 66.7301,45.9534 64.2033,47.8246 60.1784,47.8246C 56.9031,47.8246 53.7206,45.9534 52.3169,43.1451C   51.3808,41.1796 51.0066,39.4951 51.0066,35.9393L 73.5622,35.9393C 73.5622,31.8207 73.0941,29.2944 71.8776,26.6737C 69.725,21.9004 65.4197,19.1862   60.0851,19.1862C 51.5685,19.1862 45.6722,25.8312 45.6722,35.6584C 45.6722,45.2983 51.3808,51.7556 59.898,51.7556C 66.1682,51.7556 71.0353,48.3865   73.0008,42.6776L 68.6018,41.7415 Z M 51.2875,32.2892C 51.5685,29.2944 52.1298,27.7964 53.4401,26.1118C 55.218,24.0528 57.4645,22.8362   60.1784,22.8362C 65.1388,22.8362 68.1337,26.3928 68.3208,32.2892L 51.2875,32.2892 Z "/>
											<Path x:Name="Path_76" Width="13.4771" Height="40.0563" Canvas.Left="82.453" Canvas.Top="11.7925" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 95.9301,47.638C 94.2455,47.9189 93.3099,48.0122 92.1867,48.0122C 88.9109,48.0122 87.2263,46.421 87.2263,43.1451L   87.2263,11.7925L 82.453,11.9796L 82.453,42.3967C 82.453,48.6674 85.4479,51.8489 91.3444,51.8489C 92.7481,51.8489 93.7775,51.7556 95.9301,51.4747L   95.9301,47.638 Z "/>
											<Path x:Name="Path_77" Width="9.73339" Height="9.73425" Canvas.Left="0" Canvas.Top="41.8348" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 0,46.7018C 0,43.988 2.15232,41.8348 4.86657,41.8348C 7.58053,41.8348 9.73339,43.988 9.73339,46.7018C 9.73339,49.4158   7.58053,51.569 4.86657,51.569C 2.15232,51.569 0,49.4158 0,46.7018 Z "/>
											<Path x:Name="Path_78" Width="24.427" Height="33.0374" Canvas.Left="13.9448" Canvas.Top="18.7181" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 38.3718,51.7556L 38.3718,32.5692C 38.3718,28.1707 37.9976,25.8312 37.3424,24.3337C 35.6579,20.8708 32.2887,18.7181   28.2641,18.7181C 24.0525,18.7181 21.5256,20.3094 18.3436,25.2696L 18.3436,19.5604L 13.9448,19.5604L 13.9448,51.7556L 18.7179,51.7556L   18.7179,33.5052C 18.7179,27.4221 22.3679,22.8362 27.4219,22.8362C 31.5397,22.8362 33.7862,25.5502 33.7862,30.6047L 33.7862,51.7556L 38.3718,51.7556   Z "/>
											<Rectangle x:Name="Rectangle_79" Width="34.9094" Height="3.65009" Canvas.Left="59.9913" Canvas.Top="19.1862" Stretch="Fill" 

												Fill="#FFFFFFFF"/>
											<Rectangle x:Name="Rectangle_80" Width="22.2744" Height="3.55676" Canvas.Left="37.904" Canvas.Top="48.1055" Stretch="Fill" 

												Fill="#FFFFFFFF"/>
											<Path x:Name="Path_81" Width="12.5412" Height="13.009" Canvas.Left="0.374199" Canvas.Top="0.280945" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 12.9154,13.2899L 12.9154,0.280945L 10.4819,0.280945L 6.64469,10.6693L 2.71393,0.280945L 0.374199,0.280945L   0.374199,13.2899L 1.68455,13.2899L 1.68455,1.87189L 5.98977,13.2899L 7.11273,13.2899L 11.3244,1.87189L 11.3244,13.2899L 12.9154,13.2899 Z "/>
											<Path x:Name="Path_82" Width="1.59097" Height="13.009" Canvas.Left="16.0975" Canvas.Top="0.280945" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 16.0975,13.2899L 17.5949,13.2899L 17.5949,3.65009L 16.0975,3.65009L 16.0975,13.2899 Z M 16.0975,1.87189L 17.6884,1.87189L   17.6884,0.280945L 16.0975,0.280945L 16.0975,1.87189 Z "/>
											<Path x:Name="Path_83" Width="7.86147" Height="10.1077" Canvas.Left="19.8411" Canvas.Top="3.36938" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 26.2987,9.92084C 26.018,11.5118 25.1757,12.3541 23.9589,12.3541C 22.3679,12.3541 21.4321,10.8566 21.4321,8.42334C   21.4321,6.08362 22.4615,4.58618 24.0525,4.58618C 25.2692,4.58618 26.1116,5.42816 26.2987,7.01947L 27.7025,6.73853C 27.3283,4.58618 26.018,3.36938   24.0525,3.36938C 21.5256,3.36938 19.8411,5.42816 19.8411,8.42334C 19.8411,11.5118 21.4321,13.4771 23.9589,13.4771C 24.9886,13.4771 25.8309,13.1964   26.5796,12.4476C 27.1412,11.886 27.4219,11.3247 27.7025,10.1079L 26.2987,9.92084 Z "/>
											<Path x:Name="Path_84" Width="4.67945" Height="9.92053" Canvas.Left="29.8552" Canvas.Top="3.36938" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 31.2591,13.2899L 31.2591,8.1424C 31.3526,6.17719 32.7565,4.67975 34.5346,4.86688L 34.5346,3.36938C 34.3475,3.36938   34.0668,3.36938 33.9733,3.36938C 33.3181,3.36938 32.5694,3.74359 32.1013,4.21167C 31.8207,4.67975 31.6333,4.96039 31.1655,5.89624L 31.1655,3.65009L   29.8552,3.65009L 29.8552,13.2899L 31.2591,13.2899 Z "/>
											<Path x:Name="Path_85" Width="8.61016" Height="10.1077" Canvas.Left="35.1901" Canvas.Top="3.36938" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 39.5886,3.36938C 38.1847,3.36938 37.0617,3.93073 36.2195,5.05402C 35.5643,5.89624 35.1901,7.01947 35.1901,8.42334C   35.1901,9.82721 35.4708,10.9502 36.1259,11.886C 36.8746,13.0092 37.904,13.4771 39.4015,13.4771C 42.0221,13.4771 43.8003,11.4183 43.8003,8.51691C   43.8003,5.52203 42.1157,3.36938 39.5886,3.36938 Z M 39.495,4.58618C 40.2438,4.58618 40.9925,5.05402 41.4605,5.6156C 41.9286,6.27069 42.2093,7.20654   42.2093,8.42334C 42.2093,10.8566 41.1796,12.3541 39.495,12.3541C 37.8105,12.3541 36.7808,10.8566 36.7808,8.42334C 36.7808,7.30011 37.0617,6.27069   37.4362,5.70911C 37.904,5.05402 38.7463,4.58618 39.495,4.58618 Z "/>
											<Path x:Name="Path_86" Width="8.23625" Height="10.1077" Canvas.Left="44.8297" Canvas.Top="3.36938" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 44.8297,10.7628C 45.0168,11.6054 45.2977,12.0732 45.8593,12.4476C 46.6081,13.1964 47.731,13.4771 49.1349,13.4771C   51.4746,13.4771 53.0659,12.3541 53.0659,10.5757C 53.0659,8.98468 52.1298,8.04883 50.1643,7.76788L 48.2926,7.39374C 47.1697,7.20654 46.7016,6.73853   46.7016,6.08362C 46.7016,5.14752 47.5439,4.58618 48.8542,4.58618C 49.9772,4.58618 50.8195,5.05402 51.2875,6.17719L 52.6912,5.80267C 52.1298,4.21167   50.8195,3.36938 48.8542,3.36938C 46.6081,3.36938 45.2041,4.49261 45.2041,6.17719C 45.2041,7.58081 46.14,8.61041 47.8246,8.89111L 49.8836,9.26532C   50.9133,9.4527 51.4746,10.0143 51.4746,10.7628C 51.4746,11.6989 50.5391,12.3541 49.2285,12.3541C 48.2926,12.3541 47.4504,12.0732 46.8887,11.6054C   46.6081,11.3247 46.4207,11.0438 46.2336,10.4821L 44.8297,10.7628 Z "/>
											<Path x:Name="Path_87" Width="8.61044" Height="10.1077" Canvas.Left="54.4696" Canvas.Top="3.36938" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 58.9619,3.36938C 57.5582,3.36938 56.435,3.93073 55.4989,5.05402C 54.8438,5.89624 54.4696,7.01947 54.4696,8.42334C   54.4696,9.82721 54.8438,10.9502 55.4057,11.886C 56.2479,13.0092 57.2773,13.4771 58.681,13.4771C 61.3016,13.4771 63.08,11.4183 63.08,8.51691C   63.08,5.52203 61.4887,3.36938 58.9619,3.36938 Z M 58.7748,4.58618C 59.617,4.58618 60.3655,5.05402 60.8336,5.6156C 61.3016,6.27069 61.4887,7.20654   61.4887,8.42334C 61.4887,10.8566 60.4593,12.3541 58.7748,12.3541C 57.0902,12.3541 56.1541,10.8566 56.1541,8.42334C 56.1541,7.30011 56.3413,6.27069   56.8093,5.70911C 57.1835,5.05402 58.0258,4.58618 58.7748,4.58618 Z "/>
											<Path x:Name="Path_88" Width="5.98981" Height="13.2899" Canvas.Left="64.0156" Canvas.Top="0" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 69.4441,3.65009L 67.1043,3.65009C 67.1043,2.62067 67.1043,2.5271 67.2914,2.15259C 67.4786,1.4975 68.1337,1.2168   69.0698,1.2168C 69.4441,1.2168 69.6312,1.2168 70.0054,1.3103L 70.0054,0.0935059C 69.3507,0 68.976,0 68.6018,0C 67.3853,0 66.3558,0.561584   65.9811,1.4975C 65.794,2.05908 65.794,2.43329 65.7002,3.65009L 64.0156,3.65009L 64.0156,4.86688L 65.7002,4.86688L 65.7002,13.2899L 67.1043,13.2899L   67.1043,4.86688L 69.4441,4.86688L 69.4441,3.65009 Z "/>
											<Path x:Name="Path_89" Width="5.896" Height="12.4476" Canvas.Left="70.3801" Canvas.Top="1.12323" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 76.2761,12.2606C 75.8081,12.3541 75.4338,12.3541 75.1529,12.3541C 74.1235,12.3541 73.5622,11.886 73.5622,10.8566L   73.5622,4.86688L 75.7148,4.86688L 75.7148,3.65009L 73.5622,3.65009L 73.5622,1.12323L 72.158,1.2168L 72.0647,3.65009L 70.3801,3.65009L   70.3801,4.86688L 72.0647,4.86688L 72.0647,10.6693C 72.0647,12.5412 73.0008,13.5709 74.8725,13.5709C 75.2467,13.5709 75.621,13.4771 76.2761,13.4771L   76.2761,12.2606 Z "/>
											<Path x:Name="Path_90" Width="1.40416" Height="1.96527" Canvas.Left="95.743" Canvas.Top="19.1862" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 96.5852,21.1514L 96.5852,19.3733L 97.1471,19.3733L 97.1471,19.1862L 95.743,19.1862L 95.743,19.3733L 96.3043,19.3733L   96.3043,21.1514L 96.5852,21.1514 Z "/>
											<Path x:Name="Path_91" Width="1.96495" Height="1.96527" Canvas.Left="97.3343" Canvas.Top="19.1862" Stretch="Fill" 

												Fill="#FFFFFFFF" Data="M 99.2992,21.1514L 99.2992,19.1862L 98.8317,19.1862L 98.2698,20.7772L 97.7085,19.1862L 97.3343,19.1862L 97.3343,21.1514L   97.6147,21.1514L 97.6147,19.4669L 98.2698,21.1514L 98.3636,21.1514L 99.0188,19.4669L 99.0188,21.1514L 99.2992,21.1514 Z "/>
										</Canvas>
										<Path Stretch="Fill" Data="F1 M   129.492,15.7785L 15.4782,15.6851L 15.4782,75.7884C 65.3301,79.592 82.3345,22.416 139.492,32.4302L 139.492,25.7784C 139.492,20.2557 135.015,15.7785   129.492,15.7785 Z " Margin="2.478,0.685,2.509,15.03">
											<Path.Fill>
												<LinearGradientBrush StartPoint="0.481849,0.00858851" EndPoint="0.481849,0.937604">
													<GradientStop Color="#33FFFFFF" Offset="0"/>
													<GradientStop Color="#0CFFFFFF" Offset="1"/>
												</LinearGradientBrush>
											</Path.Fill>
										</Path>
									</Grid>
									<Rectangle Stretch="Fill" x:Name="rectangle" Margin="154,40.996,100,0" VerticalAlignment="Top" Height="2">
										<Rectangle.Fill>
											<LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
												<GradientStop Color="#FE1C304B" Offset="0"/>
												<GradientStop Color="#001C304B" Offset="1"/>
											</LinearGradientBrush>
										</Rectangle.Fill>
									</Rectangle>
									<TextBlock HorizontalAlignment="Left" Margin="154,8,0,0" VerticalAlignment="Top" Width="217" Height="34.996" FontFamily="Tahoma" FontSize="22" FontWeight="Bold" Text="E-Appointments" TextWrapping="Wrap">
										<TextBlock.Foreground>
											<LinearGradientBrush EndPoint="0.513,-0.146" StartPoint="0.513,1.142">
												<GradientStop Color="#FF223959" Offset="0.51"/>
												<GradientStop Color="#FF546E90" Offset="0.543"/>
											</LinearGradientBrush>
										</TextBlock.Foreground>
									</TextBlock>
									<TextBlock Width="217" Height="34.996" FontFamily="Tahoma" FontSize="22" FontWeight="Bold" Text="E-Appointments" TextWrapping="Wrap" HorizontalAlignment="Left" Margin="154,8,0,0" VerticalAlignment="Top">
										<TextBlock.Foreground>
											<LinearGradientBrush EndPoint="0.513,-0.146" StartPoint="0.513,1.142">
												<GradientStop Color="#FF223959" Offset="0.51"/>
												<GradientStop Color="#FF546E90" Offset="0.543"/>
											</LinearGradientBrush>
										</TextBlock.Foreground>
									</TextBlock>

									<Grid x:Name="NavigationBar" Margin="152,0,144.888,-1" VerticalAlignment="Bottom" Height="44">
										<Grid.ColumnDefinitions>
											<ColumnDefinition Width="0*"/>
											<ColumnDefinition Width="*"/>
										</Grid.ColumnDefinitions>
										<Path x:Name="Path" Stretch="Fill" 

											StrokeThickness="1.33319" StrokeLineJoin="Round" Stroke="#FFFFFFFF" Data="F1 M 975.583,54.8165C 981.106,54.8165 985.583,59.2937 985.583,64.8165L   985.584,84.8198L 163.493,84.8198C 157.97,84.8198 153.493,80.3426 153.493,74.8198L 153.493,54.7231L 975.583,54.8165 Z " Margin="0.334,0.333,-0.758,5.237" Grid.Column="1"/>
										<Image x:Name="Image" Source="Resources\Images\NavigationBar.png" Margin="-2.493,-0.723,-3.507,0.723" Grid.ColumnSpan="2" Stretch="Fill"/>
										<Path x:Name="Path_3" Stretch="Fill" Fill="#FF2B62A1" 

											Data="F1 M 986.584,85.8199L 162.493,85.8199C 158.239,85.8199 154.605,83.163 153.16,79.4179L 986.584,79.4179L 986.584,85.8199 Z " Margin="0.667,0,-1.091,4.903" VerticalAlignment="Bottom" Height="6.402" Grid.Column="1"/>
										<Path x:Name="Path_4" Stretch="Fill" Data="M   975.583,54.8165C 981.106,54.8165 985.583,59.2937 985.583,64.8165L 985.584,84.8198L 163.493,84.8198C 157.97,84.8198 153.493,80.3426 153.493,74.8198" 

											StrokeThickness="1.33319" StrokeLineJoin="Round" Margin="0.334,0.427,-0.758,5.237" Grid.Column="1">
											<Path.Stroke>
												<LinearGradientBrush StartPoint="0.993099,-0.0234498" EndPoint="0.993099,0.965919">
													<GradientStop Color="#61FFFFFF" Offset="0.0127119"/>
													<GradientStop Color="#70FFFFFF" Offset="0.758475"/>
													<GradientStop Color="#A9FFFFFF" Offset="0.983051"/>
												</LinearGradientBrush>
											</Path.Stroke>
										</Path>
										<Path x:Name="Path_5" Stretch="Fill" Data="M   153.493,74.8198L 153.493,54.7231L 975.583,54.8165" StrokeThickness="1.33319" StrokeLineJoin="Round" Margin="0.334,0.333,9.242,15.237" Grid.Column="1">
											<Path.Stroke>
												<LinearGradientBrush StartPoint="0.010424,-0.0299326" EndPoint="0.742812,-0.0299326">
													<GradientStop Color="#7EFFFFFF" Offset="0"/>
													<GradientStop Color="#FFFFFFFF" Offset="0.131356"/>
													<GradientStop Color="#5FFFFFFF" Offset="0.991525"/>
												</LinearGradientBrush>
											</Path.Stroke>
										</Path>
										<Path x:Name="Line" Stretch="Fill" 

											StrokeThickness="1.33319" StrokeLineJoin="Round" Stroke="#7DFFFFFF" Data="F1 M 153.023,77.6633L 985.309,77.6633" Margin="-0.137,0,-0.482,12.393" VerticalAlignment="Bottom" Height="1.333" Grid.ColumnSpan="2"/>
										<Canvas x:Name="Sections" Margin="10,0,10,0.723" Grid.Column="1"/>
										<Path x:Name="Gloss" IsHitTestVisible="false" Stretch="Fill" Data="F1 M   976.584,53.8164C 982.106,53.8164 986.584,58.2936 986.584,63.8164L 986.584,85.8199L 162.493,85.8199C 156.97,85.8199 152.493,81.3427 152.493,75.8199L   152.493,53.723L 976.584,53.8164 Z " Margin="0,0,-1.091,4.903" Grid.Column="1">
											<Path.Fill>
												<LinearGradientBrush StartPoint="0.800658,0.0319563" EndPoint="0.800658,0.966728">
													<GradientStop Color="#32FFFFFF" Offset="0.0127119"/>
													<GradientStop Color="#11FFFFFF" Offset="0.368644"/>
													<GradientStop Color="#00FFFFFF" Offset="0.385593"/>
												</LinearGradientBrush>
											</Path.Fill>
										</Path>
									</Grid>
									<!--<SampleApplication:NavigationBar Margin="151.222,0,118.222,0.004" d:LayoutOverrides="Height" VerticalAlignment="Bottom"/>-->
									<TextBlock Width="69" FontFamily="Tahoma" FontSize="14" FontWeight="Normal" Text="Welcome :" TextWrapping="Wrap" Foreground="#FFFFFFFF" HorizontalAlignment="Left" Margin="166,0,0,13" VerticalAlignment="Bottom" Height="20.996" Background="{x:Null}" x:Name="txtWelcome"/>
									<TextBlock Width="Auto" FontFamily="Tahoma" FontSize="14" FontWeight="Normal" Text="" TextWrapping="Wrap" Foreground="#FFFFFFFF" Height="20.996" HorizontalAlignment="Left" Margin="239,0,0,13" VerticalAlignment="Bottom" x:Name="txtUser"/>
									<Button HorizontalAlignment="Right" Margin="0,0,152.888,9" Style="{DynamicResource Help_LogoutButtonStyle}" Width="75.556" Content="Logout" FontSize="12" Foreground="#FFFFFFFF" VerticalAlignment="Bottom" Height="30" x:Name="btnLogout" Click="btnLogout_Click">
										<Button.Background>
											<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
												<GradientStop Color="#FFFFFFFF" Offset="0"/>
												<GradientStop Color="#FFFFFFFF" Offset="0.9"/>
											</LinearGradientBrush>
										</Button.Background>
									</Button>
									<Button Style="{DynamicResource Help_LogoutButtonStyle}" Width="74.556" Content="Help" FontSize="12" Foreground="#FFFFFFFF" HorizontalAlignment="Right" Margin="0,0,232.444,9" VerticalAlignment="Bottom" Height="30" x:Name="btnHelp">
										<Button.Background>
											<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
												<GradientStop Color="#FFFFFFFF" Offset="0"/>
												<GradientStop Color="#FFFFFFFF" Offset="0.9"/>
											</LinearGradientBrush>
										</Button.Background>
									</Button>
									<Image Width="130.888" Stretch="Fill" HorizontalAlignment="Right"  Source="Resources\Images\Logo.gif" Margin="0,11,4.998,5" StretchDirection="DownOnly"/>
								</Grid>
							</Border>
						</DockPanel>
					</Border>
					<Grid Margin="0,94,0,0">
						<Grid.RowDefinitions>
							<RowDefinition Height="*"/>
							<RowDefinition Height="36"/>
						</Grid.RowDefinitions>
						<Grid Height="Auto">
							<Grid Width="Auto" Background="{x:Null}" Margin="0,0,0,0">
								<Grid.ColumnDefinitions>
									<ColumnDefinition Width="0.74*"/>
									<ColumnDefinition Width="0.26*"/>
								</Grid.ColumnDefinitions>
								<Grid Margin="0,0,3,0">
									<Grid.ColumnDefinitions>
										<ColumnDefinition Width="0.297*"/>
										<ColumnDefinition Width="0.703*"/>
									</Grid.ColumnDefinitions>
									<Border Background="#FFFFFFFF" x:Name="CenterPanel" BorderBrush="#FF3A6DAE" BorderThickness="4,4,4,4" Visibility="Visible" HorizontalAlignment="Stretch" Margin="3.141,14.888,0,9.112" Grid.Column="1">
										<DockPanel>
											<Border Height="32.5" BorderThickness="0,0,0,1" x:Name="CenterHeader" Background="{DynamicResource MenuControlBrush}" Width="Auto" DockPanel.Dock="Top">
												<DockPanel>
													<Button Style="{DynamicResource BlueGradientButtonStyle}" Content="Create an Appointment" Foreground="#FFFFFFFF" IsEnabled="True" Height="23" x:Name="btnNewAppt" Click="btnNewAppt_Click" Width="125" Margin="0,0,5,0" BorderThickness="0,0,0,0" DockPanel.Dock="Right"/>
						
													<Image Width="23" Source="Resources\Images\AppointmentsStar.bmp" Height="20.346"/>
						
													<TextBlock Width="130" FontSize="18" FontWeight="Bold" Foreground="#FFFFFFFF" Text="Appointments" TextWrapping="Wrap" HorizontalAlignment="Left" Height="23"/>
						
												</DockPanel>
											</Border>
											<Grid Width="Auto" Height="Auto">
												<TabControl x:Name="ViewTabs" Background="{x:Null}" BorderBrush="{DynamicResource ListBorder}" IsSynchronizedWithCurrentItem="True" SelectionChanged="ViewTabs_SelectionChanged" Height="Auto" Margin="8,10,8,5">
													<TabItem x:Name="ListView" Width="90" BorderBrush="{DynamicResource ListBorder}" Header="List View">
														<Grid Width="Auto" Height="Auto">
															<Grid.ColumnDefinitions>
																<ColumnDefinition Width="*"/>
															</Grid.ColumnDefinitions>
															<EAppointmentsWPF:AppointmentList x:Name="AppointmentListControl" Margin="0,0.213,-1,0" VerticalAlignment="Stretch" Width="Auto" Height="Auto"/>
														</Grid>
													</TabItem>
													<TabItem x:Name="WeekView" Width="90" BorderBrush="{DynamicResource ListBorder}" Header="Week View">
														<Grid Height="Auto">
															<EAppointmentsWPF:TimelineWeek x:Name="TimelineWeekControl" Margin="0,4.5,0,-1.5" Width="Auto" Height="Auto"/>
														</Grid>
													</TabItem>
													<TabItem x:Name="DayView" Width="90" BorderBrush="{DynamicResource ListBorder}" Header="Day View">
														<Grid>
															<EAppointmentsWPF:TimelineDay x:Name="TimelineDayControl" Margin="1,4,-1,-4" Height="Auto"/>
														</Grid>
													</TabItem>
												</TabControl>
											</Grid>
										</DockPanel>
									</Border>
									<Grid Margin="8,14.888,8,9.112">
										<Border x:Name="LeftPanel" Background="{x:Null}" BorderBrush="{x:Null}" BorderThickness="0,0,0,0" Visibility="Visible" d:LayoutOverrides="GridBox">
			
			
			
											<EAppointmentsWPF:DateView x:Name="DateViewControl" Width="Auto" Height="Auto"/>
			
										</Border>
									</Grid>
								</Grid>
								<Grid Margin="8,14.75,8,9.75" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto">
									<Border Background="{x:Null}" x:Name="RightPanel" BorderBrush="{x:Null}" Visibility="Visible" Width="Auto" HorizontalAlignment="Stretch" Margin="1.51,0,0,0" d:LayoutOverrides="Width">
			
										<EAppointmentsWPF:PatientDetailsClass x:Name="PatientDetailsControl" Width="Auto" Height="Auto" Background="{x:Null}"/>
									</Border>
								</Grid>
								<Grid Visibility="Hidden" d:IsHidden="True" HorizontalAlignment="Stretch" Margin="8,14.75,0,8" x:Name="DetailsControlGrid" Background="{x:Null}">
									<EAppointmentsWPF:Details x:Name="DetailsControl" Visibility="Visible" Margin="0,0,0,0" Width="Auto" Height="Auto"/>
								</Grid>
							</Grid>
							<EAppointmentsWPF:Login x:Name="LoginControl" Visibility="Visible" d:LayoutOverrides="Width, Height" d:IsHidden="True" HorizontalAlignment="Center" VerticalAlignment="Center"/>
						</Grid>
						<Grid RenderTransformOrigin="0.499,0.825" VerticalAlignment="Stretch" Grid.Row="1" Margin="0,4,0,0">
							<Border Height="34" x:Name="border" Visibility="Visible" Width="Auto" Margin="0,0,0,0" VerticalAlignment="Bottom">
								<Border.Background>
									<LinearGradientBrush EndPoint="0.667,1" StartPoint="0.667,-0.118">
										<GradientStop Color="#FFA8BACD" Offset="0"/>
										<GradientStop Color="#FFC0CDDB" Offset="1"/>
									</LinearGradientBrush>
								</Border.Background>
								<Grid Height="34">
									<Rectangle Stretch="Fill" Fill="#FF224D7A" Margin="0,5,0,0" VerticalAlignment="Top" Height="2"/>
									<TextBlock FontFamily="Tahoma" FontSize="14" FontWeight="Bold" Text="Copyright@2007 Microsoft" TextWrapping="Wrap" Foreground="#FF1D3453" HorizontalAlignment="Center" VerticalAlignment="Center" Width="Auto" Height="Auto"/>
								</Grid>
							</Border>
						</Grid>
					</Grid>
				</Grid>
			</Border>
		</DockPanel>
	</Grid>
</Window>